/**
 * Created with Intellij IDEA.
 * Description;
 * User:墨琦
 * Data:2023-03-29
 * Time:14:15
 */
public class Text1 {
    public static void main(String[] args) {
        StringBuffer name=new StringBuffer("汤琦很棒，非常nice");
        name.append("good");
        name.insert(3,"刘啊");
        System.out.println(name);
        name.delete(2,2);
        System.out.println(name);
    }
}
